package com.txzt.gaea.business.device.service;

import com.txzt.gaea.business.device.domain.model.DeviceMaintain;
import com.txzt.gaea.common.base.service.BaseService;

public interface IDeviceMaintainService extends BaseService<DeviceMaintain> {

    /**
     * 新增设备维护
     * @param deviceMaintain
     * @return
     */
    public int addRepairDeviceMaintain(DeviceMaintain deviceMaintain);

    /**
     * 新增设备报废
     * @param deviceMaintain
     * @return
     */
    public int addScrapDeviceMaintain(DeviceMaintain deviceMaintain);

    /**
     * 删除设备维护
     * @param id
     * @return
     */
    public int deleteDeviceMaintain(Long id);
}
